﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JM.JCY.BusinessEntity;

namespace JM.JCY.Common
{
    public interface IEvent
    {
        void UpdateEvent(EventDataset.T_EventDataTable dt);
        void UpdateEventReceiver(EventDataset.T_Event_ReceiverDataTable dt);
        EventDataset.T_Event_S_ByReceiverDataTable GetEventByReceiver(string subject, int receiverId, DateTime? startDate, DateTime? endDate, string status);
        EventDataset.T_Event_S_BySenderDataTable GetEventBySender(string subject, int senderId, DateTime? startDate, DateTime? endDate, string status);
        EventDataset.T_EventDataTable GetEventDetailById(int eventId);
        EventDataset.T_Event_ReceiverDataTable GetEventReceiverById(int eventId);
        EventDataset.T_Event_ReceiverDataTable GetEventReceiverByReceiverId(int receiverId);
        EventDataset.T_EventDataTable GetEventForHome(int count, int receiverId);
        EventDataset.T_EventDataTable GetMyEvent(string userName, string status, string type);
       
      
    }
}
